//
//  UItil.h
//  XYMaterial
//
//  Created by 肖扬 on 15/12/9.
//  Copyright © 2015年 肖扬. All rights reserved.
//

#import <Foundation/Foundation.h>
#define SWIDTH [[UIScreen mainScreen] bounds].size.width
#define SHEIGHT [[UIScreen mainScreen] bounds].size.height
#define VHEIGHT [[UIScreen mainScreen] bounds].size.height - 64
#define VMAINHEIGHT [[UIScreen mainScreen] bounds].size.height - 44
#define FONT12 [UIFont systemFontOfSize:12];
#define FONT14 [UIFont systemFontOfSize:14];
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#define Radio(view,color) view.layer.masksToBounds = YES;\
view.layer.cornerRadius = 6.0;\
view.layer.borderWidth = 0.6;\
view.layer.borderColor = [[UIColor color] CGColor];\

#define BLUEColor   UIColorFromRGB(0x2578c3)
#define GREENColor  UIColorFromRGB(0x32b16c)
#define BLACKColor  [UIColor blackColor]
#define GRAYColor   UIColorFromRGB(0x666666)
#define REDColor    UIColorFromRGB(0xf94101)
#define ClearColor  [UIColor clearColor]
#define WhiteColor  [UIColor whiteColor]
#define ButtonGrayColor UIColorFromRGB(0x6699cc)
#define TABHIDDEN [[appStatus shareAppStatus].tabBarController hiddenTabbar];
#define TABELVIEW(table) table.separatorStyle = UITableViewCellSeparatorStyleNone;\
table.tableFooterView = [[UIView alloc]init];\

@interface UItil : NSObject
//获取当前时间 -- 转换字符串
+(NSString *)getNow;
@end
